<template>
  <div class="footer">
      <router-link to="/homepage">
      <span class="iconfont icon-shouyefill"></span>
      首页
    </router-link>
     <router-link to="/community">
      <span class="iconfont icon-shequ-jihuo_"></span>
      社区
    </router-link>
    <router-link to="/news">
      <span class="iconfont icon-xiaoxi"></span>
      消息
    </router-link>
    <router-link to="/my">
      <span class="iconfont icon-wodejuhuasuan"></span>
      我的
    </router-link>
  </div>
</template>

<script>
export default {

};
</script>

<style scoped>
.footer {
  height: 0.5rem;
  width: 100%;
  position: fixed;
  right: 0;
  bottom: 0;
  background-color: #e5e5e5;
  /* background-color: #fff; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -5px 15px 0 rgba(0, 0, 0, 0.05);
}
.footer a {
  width: 25%;
  flex: 1;
  text-decoration: none;
  text-align: center;
  color: #000;
  font-size: 0.12rem;
  padding: 0 0.3rem;
}
.footer a span {
  display: inline-block;
  font-size: 0.2rem;
  width: 0.2rem;
  height: 0.15rem;
}
.router-link-active span{
  color: #0086f6;
}
</style>